package com.financing.wap.service.weixin.service;

import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
import com.github.binarywang.wxpay.bean.request.WxPaySendRedpackRequest;
import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;
import com.github.binarywang.wxpay.bean.result.WxPayRedpackQueryResult;
import com.github.binarywang.wxpay.bean.result.WxPaySendRedpackResult;
import com.github.binarywang.wxpay.exception.WxPayException;


/**
 * @author Binary Wang
 */
public  interface WeixinPayService {
	
	public Object createOrder(WxPayUnifiedOrderRequest orderRequest) throws WxPayException ;
	
	public WxPayOrderNotifyResult parseOrderNotifyResult(String xmlResult) throws WxPayException ;
    
    public WxPaySendRedpackResult sendRedpack(WxPaySendRedpackRequest request) throws WxPayException ;
   
    public WxPayRedpackQueryResult queryRedpack(String partnerTradeNo) throws WxPayException;
}
